/***************************************************************************
 *   Copyright (C) 2009 by Marcin Swiechowicz   *
 *   marcin.swiechowicz@gmail.com   *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/
#ifndef KDCFILEFACTORY_H
#define KDCFILEFACTORY_H

#include <kdcmovie.h>
#include <kdcdisc.h>

#include <QString>

#include <KIcon>

class KDCFileFactory
{
public:
	static KDCFileFactory* getInstance();
	~KDCFileFactory();

	QString logFileName() const;
	void writeLogMessage( const char *aMsg );

	KIcon appIcon() const;
	QString appTempPath() const;
	QString applicationDirPath() const;

	QString discDir( KDCDisc *aDisc ) const;
	QString discOutDir( KDCDisc *aDisc ) const;
	QString discConfigFile( KDCDisc *aDisc ) const;
/*
	QString movieTempName( KDCMovie *aMovie ) const;
	QString movieThumbnail( KDCMovie *aMovie ) const;
	QString movieSubtitleFile( KDCMovie *aMovie, int aId ) const;
	QString movieSpumuxFile( KDCMovie *aMovie ) const;
	QString movieSubtitleConfigFile( KDCMovie *aMovie, int aId ) const;
	QString movieDir( KDCMovie *aMovie ) const;
	QString movieChaptersDir( KDCMovie *aMovie ) const;
	*/
protected:
	KDCFileFactory();
private:
	QString pAppsTempPath;
	QString pAppsLogFileName;
};
#endif
